<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <input
      type="text"
      name="useranme"
      id="input1"
      src="./a.js"
      username="jack"
    />
    <script>
      const input = document.getElementById("input1");

      setTimeout(() => {
        // input.setAttribute("type", "checkbox");
        input.setAttribute("id", "abc");
        input.setAttribute("name", "abc");
        input.setAttribute("usersname", "abc");
        input.setAttribute("gender", "abc");
      }, 4000);
    </script>
  </body>
</html>
